import pandas as pd
from yawSrc.tools.smoothDecorator import SmoothDecorator
from common.config import yawConfig as Config

from yawSrc.tools.getPlotly import show3dFig
from yawSrc.tools.loadFile import toCsv,toAttrCsv

@SmoothDecorator.smooth
# @SmoothDecorator.drop_dbscan
# @SmoothDecorator.curveSmooth

def hisSmoothProcess(X):
    print('smoothProcess 进行中................')
    return X


if __name__ == '__main__':
    toCsv(Config.hisGroupProcess,  Config.hisSmoothProcess, hisSmoothProcess)
    toAttrCsv(Config.hisSmoothProcess,Config.hisSmoothAttr)
    print('smoothProcess 完毕................')
    # show3dFig(Config.hisSmoothProcess)